package com.honghe.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.honghe.common.annotation.Excel;
import com.honghe.common.core.domain.BaseEntity;

/**
 * 债权转让对象 debt_information
 * 
 * @author xjw
 * @date 2025-04-22
 */
public class DebtInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 债务人姓名(手机号) */
    @Excel(name = "债务人姓名(手机号)")
    private String debtorName;

    /** 债务人身份证号 */
    @Excel(name = "债务人身份证号")
    private String debtorIdCard;

    /** 原债权方姓名（手机号） */
    @Excel(name = "原债权方姓名", readConverterExp = "手=机号")
    private String creditorName;

    /** 原债权方身份证号 */
    @Excel(name = "原债权方身份证号")
    private String creditorIdCard;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 欠款类型 */
    @Excel(name = "欠款类型")
    private String debtType;

    /** 收购日期 */
    @Excel(name = "收购日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String purchaseDate;

    /** 当前步骤 */
    @Excel(name = "当前步骤")
    private String currentStatus;

    /** 跟进情况 */
    @Excel(name = "跟进情况")
    private String followUpInfo;

    /** 文件信息(格式:文件名|存储路径,支持多个文件) */
    @Excel(name = "文件信息(格式:文件名|存储路径,支持多个文件)")
    private String fileInfo;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private String createById;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDebtorName(String debtorName) 
    {
        this.debtorName = debtorName;
    }

    public String getDebtorName() 
    {
        return debtorName;
    }

    public void setDebtorIdCard(String debtorIdCard) 
    {
        this.debtorIdCard = debtorIdCard;
    }

    public String getDebtorIdCard() 
    {
        return debtorIdCard;
    }

    public void setCreditorName(String creditorName) 
    {
        this.creditorName = creditorName;
    }

    public String getCreditorName() 
    {
        return creditorName;
    }

    public void setCreditorIdCard(String creditorIdCard) 
    {
        this.creditorIdCard = creditorIdCard;
    }

    public String getCreditorIdCard() 
    {
        return creditorIdCard;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setDebtType(String debtType) 
    {
        this.debtType = debtType;
    }

    public String getDebtType() 
    {
        return debtType;
    }

    public void setPurchaseDate(String purchaseDate) 
    {
        this.purchaseDate = purchaseDate;
    }

    public String getPurchaseDate() 
    {
        return purchaseDate;
    }

    public void setCurrentStatus(String currentStatus) 
    {
        this.currentStatus = currentStatus;
    }

    public String getCurrentStatus() 
    {
        return currentStatus;
    }

    public void setFollowUpInfo(String followUpInfo) 
    {
        this.followUpInfo = followUpInfo;
    }

    public String getFollowUpInfo() 
    {
        return followUpInfo;
    }

    public void setFileInfo(String fileInfo) 
    {
        this.fileInfo = fileInfo;
    }

    public String getFileInfo() 
    {
        return fileInfo;
    }

    public void setCreateById(String createById)
    {
        this.createById = createById;
    }
    
    public String getCreateById()
    {
        return createById;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("debtorName", getDebtorName())
            .append("debtorIdCard", getDebtorIdCard())
            .append("creditorName", getCreditorName())
            .append("creditorIdCard", getCreditorIdCard())
            .append("amount", getAmount())
            .append("debtType", getDebtType())
            .append("purchaseDate", getPurchaseDate())
            .append("currentStatus", getCurrentStatus())
            .append("followUpInfo", getFollowUpInfo())
            .append("fileInfo", getFileInfo())
            .append("createTime", getCreateTime())
            .append("createById", getCreateById())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
